//
//  JXPMoviePlayer.h
//  模拟-百思不得姐
//
//  Created by ColinJ on 16/8/18.
//  Copyright © 2016年 colin. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AVKit/AVPlayerViewController.h>
#import <AVFoundation/AVFoundation.h>

@interface JXPMoviePlayer : NSObject

@property (nonatomic,strong)AVPlayer *AVPlayer;

@property (nonatomic ,strong)AVPlayerItem *playerItem;
//播放的视图（将player的layer层加载在上面）
@property (nonatomic,strong)UIView *playerView;
//传进来的视频的urlString
@property (nonatomic,copy)NSString *urlString;

+ (instancetype)shareMoviePlayer;

- (void)playViewWithURLString:(NSString *)urlString;

@end
